#ifndef __qysourcenavigatorplugininterface__
#define __qysourcenavigatorplugininterface__

#include <QtPlugin>

class QySourceNavigator;
class QySciEdit;

class QySourceNavigatorPluginInterface {
public:
	virtual ~QySourceNavigatorPluginInterface();

	QySciEdit * currentEdit() const;
	void setCurrentEdit( QySciEdit * edit );

	virtual QString displayName() const = 0;
	virtual QWidget * widget() = 0;

protected:
	virtual void currentEditChanged( QySciEdit * edit );

private:
	QySciEdit * p_edit;

};

Q_DECLARE_INTERFACE( QySourceNavigatorPluginInterface, "lambdapro.SourceNavigatorInterface/1.0")


#endif/*__qysourcenavigatorplugininterface__*/
